/*
 * Created on 2006-4-5
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.sitech.portal.system.form;

import java.util.List;

import com.sitech.portal.system.domain.TblSYS_LOGINMSG;


/**
 * @author Administrator
 * 
 * TODO To change the template for this generated type comment go to Window -
 * Preferences - Java - Code Style - Code Templates
 */
public class UserForm  {

	private String DEPT_TYPE = null;

	private String ACT_ID = null;
	/* 部门id */
	private String DEPT_ID = null;

	private String COMP_ID = null;

	private String MID_ID = null;
	private List resultList = null;

	private String LOGIN_ID = null;

	private String LOGIN_IDOFPERSON;
	/* 机构名称 */
	private String orgName;

	private java.lang.String userId;

	private java.lang.String userIds;

	private java.lang.String userCode;

	private java.lang.String userName;

	private java.lang.String password;

	private java.lang.String telphone;

	private java.lang.Short valid;

	private java.lang.String email;

	private java.lang.String local_phone;

	private List roleList;

	private List canRoleList;

	private String[] canSelect;

	private String[] alreadySelect;
	
	private String[] workGroupSelect;

	private String confirmPassword;

	private String action_type;

	private String PGSZIE;
	
	private String roleIds;
	
	private String workGroupIds;
	
	private String menuType;
	
	private String lockState;
	
	private String IS_VIP;

	public String getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}

	public java.lang.String getUserIds() {
		return userIds;
	}

	public void setUserIds(java.lang.String userIds) {
		this.userIds = userIds;
	}


	/**
	 * @return Returns the dEPT_TYPE.
	 */
	public String getDEPT_TYPE() {
		return DEPT_TYPE;
	}

	/**
	 * @param dept_type
	 *            The dEPT_TYPE to set.
	 */
	public void setDEPT_TYPE(String dept_type) {
		DEPT_TYPE = dept_type;
	}

	/**
	 * @return Returns the email.
	 */
	public java.lang.String getEmail() {
		return email;
	}

	/**
	 * @param email
	 *            The email to set.
	 */
	public void setEmail(java.lang.String email) {
		this.email = email;
	}

	/**
	 * @return Returns the lOGIN_ID.
	 */
	public String getLOGIN_ID() {
		return LOGIN_ID;
	}

	/**
	 * @param login_id
	 *            The lOGIN_ID to set.
	 */
	public void setLOGIN_ID(String login_id) {
		LOGIN_ID = login_id;
	}

	/**
	 * @return Returns the orgName.
	 */
	public String getOrgName() {
		return orgName;
	}

	/**
	 * @param orgName
	 *            The orgName to set.
	 */
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	/**
	 * @return Returns the password.
	 */
	public java.lang.String getPassword() {
		return password;
	}

	/**
	 * @param password
	 *            The password to set.
	 */
	public void setPassword(java.lang.String password) {
		this.password = password;
	}

	/**
	 * @return Returns the resultList.
	 */
	public List getResultList() {
		return resultList;
	}

	/**
	 * @param resultList
	 *            The resultList to set.
	 */
	public void setResultList(List resultList) {
		this.resultList = resultList;
	}

	/**
	 * @return Returns the roleList.
	 */
	public List getRoleList() {
		return roleList;
	}

	/**
	 * @param roleList
	 *            The roleList to set.
	 */
	public void setRoleList(List roleList) {
		this.roleList = roleList;
	}

	/**
	 * @return Returns the telphone.
	 */
	public java.lang.String getTelphone() {
		return telphone;
	}

	/**
	 * @param telphone
	 *            The telphone to set.
	 */
	public void setTelphone(java.lang.String telphone) {
		this.telphone = telphone;
	}

	/**
	 * @return Returns the userId.
	 */
	public java.lang.String getUserId() {
		return userId;
	}

	/**
	 * @param userId
	 *            The userId to set.
	 */
	public void setUserId(java.lang.String userId) {
		this.userId = userId;
	}

	/**
	 * @return Returns the userName.
	 */
	public java.lang.String getUserName() {
		return userName;
	}

	/**
	 * @param userName
	 *            The userName to set.
	 */
	public void setUserName(java.lang.String userName) {
		this.userName = userName;
	}

	/**
	 * @return Returns the aCT_ID.
	 */
	public String getACT_ID() {
		return ACT_ID;
	}

	/**
	 * @param act_id
	 *            The aCT_ID to set.
	 */
	public void setACT_ID(String act_id) {
		ACT_ID = act_id;
	}

	/**
	 * @return Returns the alreadySelect.
	 */
	public String[] getAlreadySelect() {
		return alreadySelect;
	}

	/**
	 * @param alreadySelect
	 *            The alreadySelect to set.
	 */
	public void setAlreadySelect(String[] alreadySelect) {
		this.alreadySelect = alreadySelect;
	}

	/**
	 * @return Returns the canRoleList.
	 */
	public List getCanRoleList() {
		return canRoleList;
	}

	/**
	 * @param canRoleList
	 *            The canRoleList to set.
	 */
	public void setCanRoleList(List canRoleList) {
		this.canRoleList = canRoleList;
	}

	/**
	 * @return Returns the canSelect.
	 */
	public String[] getCanSelect() {
		return canSelect;
	}

	/**
	 * @param canSelect
	 *            The canSelect to set.
	 */
	public void setCanSelect(String[] canSelect) {
		this.canSelect = canSelect;
	}

	/**
	 * @return Returns the valid.
	 */
	public java.lang.Short getValid() {
		return valid;
	}

	/**
	 * @param valid
	 *            The valid to set.
	 */
	public void setValid(java.lang.Short valid) {
		this.valid = valid;
	}

	/**
	 * @return Returns the userCode.
	 */
	public java.lang.String getUserCode() {
		return userCode;
	}

	/**
	 * @param userCode
	 *            The userCode to set.
	 */
	public void setUserCode(java.lang.String userCode) {
		this.userCode = userCode;
	}

	/**
	 * @return Returns the confirmPassword.
	 */
	public String getConfirmPassword() {
		return confirmPassword;
	}

	/**
	 * @param confirmPassword
	 *            The confirmPassword to set.
	 */
	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}

	/**
	 * @return Returns the cOMP_ID.
	 */
	public String getCOMP_ID() {
		return COMP_ID;
	}

	/**
	 * @param comp_id
	 *            The cOMP_ID to set.
	 */
	public void setCOMP_ID(String comp_id) {
		COMP_ID = comp_id;
	}

	/**
	 * @return Returns the dEPT_ID.
	 */
	public String getDEPT_ID() {
		return DEPT_ID;
	}

	/**
	 * @param dept_id
	 *            The dEPT_ID to set.
	 */
	public void setDEPT_ID(String dept_id) {
		DEPT_ID = dept_id;
	}

	/**
	 * @return Returns the mID_ID.
	 */
	public String getMID_ID() {
		return MID_ID;
	}

	/**
	 * @param mid_id
	 *            The mID_ID to set.
	 */
	public void setMID_ID(String mid_id) {
		MID_ID = mid_id;
	}

	/**
	 * @return Returns the action_type.
	 */
	public String getAction_type() {
		return action_type;
	}

	/**
	 * @param action_type
	 *            The action_type to set.
	 */
	public void setAction_type(String action_type) {
		this.action_type = action_type;
	}

	public String getPGSZIE() {

		return PGSZIE;
	}

	public void setPGSZIE(String pgszie) {
		PGSZIE = pgszie;
	}

	public String getLOGIN_IDOFPERSON() {
		return LOGIN_IDOFPERSON;
	}

	public void setLOGIN_IDOFPERSON(String login_idofperson) {
		LOGIN_IDOFPERSON = login_idofperson;
	}

	public java.lang.String getLocal_phone() {
		return local_phone;
	}

	public void setLocal_phone(java.lang.String local_phone) {
		this.local_phone = local_phone;
	}
	public UserForm(){
		
	}
	public UserForm(TblSYS_LOGINMSG user){
		if(user!=null){
			this.setLOGIN_ID(user.getLOGIN_ID());
			this.setUserName(user.getNAME());
			this.setPassword(user.getLOGIN_PASSWD());
			this.setEmail(user.getEMAIL_ADDR());
			this.setTelphone(user.getLOGIN_PHONE());
			this.setDEPT_ID(user.getDEPT_ID());
			this.setCOMP_ID(user.getCOMP_ID());
			this.setLocal_phone(user.getLOCAL_PHONE());
			this.setRoleIds(user.getRoleIds());
			this.setLockState(user.getLOCKSTATE());
			this.setWorkGroupIds(user.getWorkGroupIds());
			this.setIS_VIP(user.getIS_VIP());
		}
	}
	public TblSYS_LOGINMSG getDomain(){
		TblSYS_LOGINMSG user = new TblSYS_LOGINMSG();
		user.setLOGIN_ID(this.getUserCode().trim());
		user.setNAME(this.getUserName());
		user.setLOGIN_PASSWD(this.getPassword());
		user.setEMAIL_ADDR(this.getEmail());
		user.setLOGIN_PHONE(this.getTelphone());
		user.setDEPT_ID(this.getDEPT_ID());
		user.setCOMP_ID(this.getCOMP_ID());
		user.setLOCAL_PHONE(this.getLocal_phone());
		user.setRoleIds(this.getRoleIds());
		user.setWorkGroupIds(this.getWorkGroupIds());
		user.setIS_VIP(this.getIS_VIP());
		return user;
	}

	public String getMenuType() {
		return menuType;
	}

	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}

	public String getLockState() {
		return lockState;
	}

	public void setLockState(String lockState) {
		this.lockState = lockState;
	}

	public String[] getWorkGroupSelect() {
		return workGroupSelect;
	}

	public void setWorkGroupSelect(String[] workGroupSelect) {
		this.workGroupSelect = workGroupSelect;
	}

	public String getWorkGroupIds() {
		return workGroupIds;
	}

	public void setWorkGroupIds(String workGroupIds) {
		this.workGroupIds = workGroupIds;
	}

	public String getIS_VIP() {
		return IS_VIP;
	}

	public void setIS_VIP(String is_vip) {
		IS_VIP = is_vip;
	}

}
